cmake_minimum_required(VERSION 3.22)
project(CProject C)

set(CMAKE_C_STANDARD 99)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -finput-charset=UTF-8 -fexec-charset=GBK")

add_executable(01_Hello chapter01/01_Hello.c
        chapter01/03_HelloC.c
        chapter02/01_IdentifierTest.c)
add_executable(14_PointerAndArray4 chapter05/14_PointerAndArray4.c)